//
//  EasyToTescoController.m
//  EasyToTesco2.0
//
//  Created by 杨森 on 16/9/18.
//  Copyright © 2016年 EasyToTesco. All rights reserved.
//

#import "EasyToTescoController.h"

@interface EasyToTescoController ()

@end

@implementation EasyToTescoController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.title = @"简介";
    self.view.backgroundColor = [UIColor whiteColor];
    self.edgesForExtendedLayout = UIRectEdgeNone;
    UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectMake(10,20,100,20)];
    [self.view addSubview:lbl];
    lbl.text = @"亿乐Go简介";
    lbl.font = FONT(13);
    lbl.font = [UIFont boldSystemFontOfSize:14];
    
    NSString *Str = @"“亿乐Go”是由遂昌电子商务有限公司于2015年注资1000万元创建的电子商务网络与地面合作商家相结合的商务导购平台。公司凭借领先行业的创新营销模式和适合消费市场的营销策略，着力打造一个让消费者真正得到购物乐趣的消费天堂，从而满足大众消费的最终需求，以期达到全面提高消费者生活水平的宏伟愿望。公司始终坚持以“您的每一件小事都是亿乐购物吧的大事”为宗旨,以专业、专心、专注的态度和实实在在的行动将服务每一个会员，每一个细节,让所有会员都能实实在在地感受到“亿乐购物吧”的卓越品质。“亿乐Go”—— 改变传统消费习惯，见证消费奇迹！";
    UILabel *detailLbl = [[UILabel alloc] initWithFrame:CGRectMake(10,50,WIDTH-20,200)];
    ;
    detailLbl.font = FONT(14);
    detailLbl.numberOfLines = 0;
    
    NSMutableAttributedString * attributedString1 = [[NSMutableAttributedString alloc] initWithString:Str];
    NSMutableParagraphStyle * paragraphStyle1 = [[NSMutableParagraphStyle alloc] init];
    [paragraphStyle1 setLineSpacing:5];
    [attributedString1 addAttribute:NSParagraphStyleAttributeName value:paragraphStyle1 range:NSMakeRange(0, [Str length])];
    [detailLbl setAttributedText:attributedString1];
    [detailLbl sizeToFit];
    [self.view addSubview:detailLbl];
    
}

- (void)getEasyToTescoDetail
{
    
}

@end
